package demo;

public class Card {
    //初始值
    private String suit;//花色
    private int num;//牌数
    //构造方法
    public Card(String suit,int num) {
        this.suit = suit;
        this.num = num;
    }

    @Override
    public String toString() {
        return suit + num;
    }
}
